﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Menu.ascx.cs" Inherits="TIS.UserControl.Menu" %>
<div class="navigator">
    <ul>
        <li <%=Request.QueryString["catId"]  == null ? "class=\"active\"" : "" %>><a href="/"><%=Session["lang"].ToString() == "1" ? "Trang chủ" : "Home"%></a></li>
        <asp:Repeater runat="server" ID="rpMenu">
            <ItemTemplate>
                <li <%# Request.QueryString["catId"] == Eval("CategoryId").ToString() ? "class=\"active\"" : ""  %>><a href="<%# LinkUtil.linkCageory(Eval("CategoryId").ToString(),"1",Eval("CategorySEOUrl").ToString()) %>">
                    <%# Eval("CategoryName")%></a></li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
</div>
